package com.ruoyi.personnelMatters.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class DeptChangeScanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //部门扫描信息id
    private int personDeptChangeId;
    //用户id
    private Long userId;
    //员工姓名
    private String userName;
    //原先部门id
    private Long oldDeptId;
    //原先部门名字 (数据前端回显)
    private String oldDeptName;
    //修改后的部门id
    private Long newDeptId;
    //修改后的部门名字 (数据前端回显)
    private String newDeptName;
    //生效日期
    private Date deptChangeEffectiveDate;
    //创建日期
    private Date createTime;
    //是否执行过
    private int executed;

    public int getPersonDeptChangeId() {
        return personDeptChangeId;
    }

    public void setPersonDeptChangeId(int personDeptChangeId) {
        this.personDeptChangeId = personDeptChangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOldDeptId() {
        return oldDeptId;
    }

    public void setOldDeptId(Long oldDeptId) {
        this.oldDeptId = oldDeptId;
    }

    public Long getNewDeptId() {
        return newDeptId;
    }

    public void setNewDeptId(Long newDeptId) {
        this.newDeptId = newDeptId;
    }

    public Date getDeptChangeEffectiveDate() {
        return deptChangeEffectiveDate;
    }

    public void setDeptChangeEffectiveDate(Date deptChangeEffectiveDate) {
        this.deptChangeEffectiveDate = deptChangeEffectiveDate;
    }

    public int getExecuted() {
        return executed;
    }

    public void setExecuted(int executed) {
        this.executed = executed;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOldDeptName() {
        return oldDeptName;
    }

    public void setOldDeptName(String oldDeptName) {
        this.oldDeptName = oldDeptName;
    }

    public String getNewDeptName() {
        return newDeptName;
    }

    public void setNewDeptName(String newDeptName) {
        this.newDeptName = newDeptName;
    }

    @Override
    public String toString() {
        return "DeptChangeScanInfo{" +
                "personDeptChangeId=" + personDeptChangeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", oldDeptId=" + oldDeptId +
                ", oldDeptName='" + oldDeptName + '\'' +
                ", newDeptId=" + newDeptId +
                ", newDeptName='" + newDeptName + '\'' +
                ", deptChangeEffectiveDate=" + deptChangeEffectiveDate +
                ", createTime=" + createTime +
                ", executed=" + executed +
                '}';
    }
}
